Skip to content

Allow to pass env. vars on CLI - #1460

Merged
rvolosatovs merged 2 commits into
bytecodealliance:mainfrom
airbus-forks:main
Aug 27, 2026
Merged

rvolosatovs merged 2 commits into
bytecodealliance:mainfrom
airbus-forks:main

Conversation

@psiegl

@psiegl psiegl commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Adds --env NAME=VALUE to the tcp run subcommand, allowing environment variables to be set for the guest component — matching the behavior already offered by upstream Wasmtime's CLI.
Also extends this to the tcp serve subcommand, so reactor components can receive explicit environment variables the same way — completing the parity goal.

@psiegl
psiegl requested a review from rvolosatovs as a code owner August 26, 2026 13:24
Comment thread crates/wasmtime-cli/src/lib.rs Outdated
Comment thread crates/wasmtime-cli/src/tcp.rs Outdated
Comment thread crates/wasmtime-cli/src/tcp.rs Outdated
Comment thread crates/wasmtime-cli/src/lib.rs Outdated
@rvolosatovs

Copy link
Copy Markdown
Member

Thanks!

@rvolosatovs
rvolosatovs added this pull request to the merge queue Aug 27, 2026
Merged via the queue into bytecodealliance:main with commit 7494e64 Aug 27, 2026
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants